package models

import "gorm.io/gorm"

type Classification struct {
	gorm.Model
	UserId int `gorm:"type:int;comment:'用户id'"`
	KeId   int `gorm:"type:int;comment:'课程id'"`
	Status int `gorm:"type:int;default:1;comment:'类型: 1没付费 2付费'"`
}

func (c *Classification) TableName() string {
	return "classification"
}
